package com.neusoft.ecommerce.entity;
/**
 * 
 * @author Alouette~
 *
 */

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class StockReturn extends AbstractToString{
	private Integer stockReturnNo;
	//外键
	
	private Goods goods;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date stockReturnTime;
	private Integer stockReturnAmount;
	private Double stockReturnPrice;
	private String handler;
	private String stockReturnRemark;
	public StockReturn() {
		super();
	}
	public StockReturn(Integer stockReturnNo, Goods goods, Date stockReturnTime, Integer stockReturnAmount,
			Double stockReturnPrice, String handler, String stockReturnRemark) {
		super();
		this.stockReturnNo = stockReturnNo;
		this.goods = goods;
		this.stockReturnTime = stockReturnTime;
		this.stockReturnAmount = stockReturnAmount;
		this.stockReturnPrice = stockReturnPrice;
		this.handler = handler;
		this.stockReturnRemark = stockReturnRemark;
	}
	/**
	 * @return the stockReturnNo
	 */
	public Integer getStockReturnNo() {
		return stockReturnNo;
	}
	/**
	 * @param stockReturnNo the stockReturnNo to set
	 */
	public void setStockReturnNo(Integer stockReturnNo) {
		this.stockReturnNo = stockReturnNo;
	}
	/**
	 * @return the goods
	 */
	public Goods getGoods() {
		return goods;
	}
	/**
	 * @param goods the goods to set
	 */
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	/**
	 * @return the stockReturnTime
	 */
	public Date getStockReturnTime() {
		return stockReturnTime;
	}
	/**
	 * @param stockReturnTime the stockReturnTime to set
	 */
	public void setStockReturnTime(Date stockReturnTime) {
		this.stockReturnTime = stockReturnTime;
	}
	/**
	 * @return the stockReturnAmount
	 */
	public Integer getStockReturnAmount() {
		return stockReturnAmount;
	}
	/**
	 * @param stockReturnAmount the stockReturnAmount to set
	 */
	public void setStockReturnAmount(Integer stockReturnAmount) {
		this.stockReturnAmount = stockReturnAmount;
	}
	/**
	 * @return the stockReturnPrice
	 */
	public Double getStockReturnPrice() {
		return stockReturnPrice;
	}
	/**
	 * @param stockReturnPrice the stockReturnPrice to set
	 */
	public void setStockReturnPrice(Double stockReturnPrice) {
		this.stockReturnPrice = stockReturnPrice;
	}
	/**
	 * @return the handler
	 */
	public String getHandler() {
		return handler;
	}
	/**
	 * @param handler the handler to set
	 */
	public void setHandler(String handler) {
		this.handler = handler;
	}
	/**
	 * @return the stockReturnRemark
	 */
	public String getStockReturnRemark() {
		return stockReturnRemark;
	}
	/**
	 * @param stockReturnRemark the stockReturnRemark to set
	 */
	public void setStockReturnRemark(String stockReturnRemark) {
		this.stockReturnRemark = stockReturnRemark;
	}
	
	
}
